package com.example.privatecontacts;

import com.example.adapter.PrivateContactAdapter;
import com.example.bean.PrivateContact;

import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.ListView;

public class MainActivity extends ActionBarActivity {
	ListView contactsListview;
	PrivateContactAdapter adapter;
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		
		setupViews();
	}
	private void setupViews() {
		contactsListview = (ListView) findViewById(R.id.private_contacts_listview);
		LayoutInflater inflater = LayoutInflater.from(this);
		View view = inflater.inflate(R.layout.empty_listview_layout, contactsListview, false);
//		contactsListview.setEmptyView(view);
//		adapter = new PrivateContactAdapter();
//		contactsListview.setAdapter(adapter);
	}

	
}